package com.example.rmation.service;


import com.example.rmation.model.entity.User;
import com.example.rmation.model.request.AddUserRequest;
import com.example.rmation.model.request.UpdateUserRequest;
import com.github.pagehelper.PageInfo;

public interface UserService {

    User login(String account, String password);

    PageInfo studentAll(Integer pageNum, Integer pageSize);

    void insertUser(AddUserRequest addUserRequest);

    void outOfService(Integer id);

    void UpdateUser(UpdateUserRequest updateUserRequest);

    PageInfo studentLike(Integer pageNum, Integer pageSize, String name);
}
